package com.itluma.myshopping.pojo;

import com.itluma.myshopping.entity.Product;
import lombok.Data;

import java.util.List;

/**
 * @program: Ourshop6team
 * @author: 小陆
 * @create: 2021-03-15 19:12
 **/

@Data
public class PageBean<T> {

    //当前页面数据
    private List<T> date;
    //当前页面
    private Integer currentPage;
    //每一页的大小
    private Integer pageSize;
    //总页面数
    private Integer totalPage;
    //总个数
    private Integer totalCount;
    //是否是第一页
    private boolean isFirstPage = false;
    //是否是最后一页
    private boolean isLastPage = false;

}
